package com.ljf.springtest.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ljf.springtest.base.BaseBean;

import java.io.Serializable;

/**
 * user bean.
 * it is used to saved to user message.
 * @version v1.0
 * @author JunfengLiu
 * @since v1.0
 * date: 2021-12-17 09:19:29
 */
@TableName("t_user")
public class User extends BaseBean<User> implements Serializable {

    /**
     * avatar : /profile/2020/10/26/27e7fd58-0972-4dbf-941c-590624e6a886. png
     * userName : David
     * nickName : 大卫
     * password : 123456
     * phonenumber : 15840669812
     * sex : 0
     * email : David@163.com
     * idCard : 210113199808242137
     * balance : 9800
     * score : 10000
     */

    private String avatar;
    private String userName;
    private String nickName;
    private String password;
    private String phonenumber;
    private String sex;
    private String email;
    private String idCard;
    private Integer balance;
    private Integer score;
    private String token;

    public User() {
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
